<script setup lang="ts">
import { reactive } from 'vue'
import useStore from '@/store'
const { member } = useStore()
const form = reactive({
  mobile: '13800000002',
  password: '888itcast.CN764%...'
})
const fun = () => {
  member.login(form)
}
</script>

<template>
  <div>
    <input type="text" v-model="form.mobile" />
    <input type="text" v-model="form.password" />
    <button @click="fun">登录</button>
  </div>
</template>

<style scoped lang=""></style>
